//
//  Created by Rene Dohan on 11/22/11.
//


#import "Lang.h"


@implementation Lang

+ (NSString *)asStringInt:(int)value {
    return [NSString stringWithFormat:@"%i", value];
}

+ (NSString *)asString:(NSObject *)value {
    return [NSString stringWithFormat:@"%@", value];
}

+ (NSString *)asStringBool:(BOOL)value {
    return [NSString stringWithFormat:@" %s", value ? "true" : "false", value];
}

+ (void)info:(NSObject *)value {
    NSLog(@"%@", value);
}

+ (void)infoInt:(NSInteger)value {
    NSLog(@"%i", value);
}

+ (void)infoBool:(BOOL)value {
    NSLog(@" %@", [self asStringBool:value]);
}
@end